﻿using OASystem.DAL;
using OASystem.Model;
using OASystem.ViewModel;

namespace OASystem.BLL.IService
{
    public interface IRecode_tail01Service : IBaseRepository<Tasklist>, IDenpendecy
    {
        /// <summary>
        /// 发布任务
        /// </summary>
        /// <returns></returns>
        ResponseResult Publish_task(Tasklist task, string Publisher);

        /// <summary>
        /// 显示所有部门
        /// </summary>
        /// <returns></returns>
        ResponseResult Select2();

        /// <summary>
        /// 发布多人任务
        /// </summary>
        /// <param name="task">TaskList对象</param>
        /// <param name="Publisher">发布人</param>
        /// <param name="DepartId">部门ID</param>
        /// <returns></returns>
        ResponseResult Recode_tail01ByMore(Tasklist task, string Publisher, int DepartId);
    }
}
